﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.UI;
using System.Web.UI.WebControls;
using Generico.Coneccion;

namespace RosarioFinanzas
{
    public partial class RosarioFinanzas : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Expires = 0;
        }

        protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
        {
            var cn = new ClsConeccion();
            cn.Abrir();
            //cn.AgregarParametros("user", this.hidusr.Value);
            //cn.AgregarParametros("pwd", this.hidpwd.Value);
            var rd = cn.EjecutarSpDataReader("sp_Login");
            while (rd.Read())
            {
              //  this.hidNombreApellido.Value=rd["Nombre"].ToString() + " " + rd["Apellido"].ToString();
            }
            cn.Cerrar();
            Response.Redirect("http://rosariofinanzas.com.ar");
        }
       
    }
}
